package com.p7.framework.common.exception;

/**
 * @ClassName: RequestPrarmException
 * @Description: RequestPrarmException
 * @author 杨振
 * @date 2017年12月13日 下午3:34:20
 * @Copyright: 2017
 **/
public class RequestParamException extends BaseException {

	private static final long serialVersionUID = -5755085265647474142L;

	public RequestParamException(Integer errCode, String errMsg) {
		super(errCode, errMsg);
		this.errMsg = errMsg;
	}

	public RequestParamException(String errMsg) {
		super(ERROR, errMsg);
		this.errMsg = errMsg;
	}

	private String errMsg;

	public static final Integer ERROR = 400000;

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

}
